using System;
using System.Collections.Generic;
using System.Text;

namespace MobileEditor
{
	public class GeneralSettings
	{
		private string _backupExtension = "bak";
		private bool _createBackup = true;
		private FilenameMask _defaultMask;
		private List<FilenameMask> _masks;


		public string BackupExtension
		{
			get { return _backupExtension; }
			set { _backupExtension = value; }
		}

		public bool CreateBackup
		{
			get { return _createBackup; }
			set { _createBackup = value; }
		}

		public FilenameMask DefaultMask
		{
			get { return _defaultMask; }
			set { _defaultMask = value; }
		}

		public List<FilenameMask> Masks
		{
			get { if (_masks == null) _masks = new List<FilenameMask>(); return _masks; }
			set { _masks = value; }
		}
	}
}
